<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
	<%@ include file="header.html"%>
	<%@ include file="ownerNavBar.html"%>

	<div align="center">
		<%= (String) request.getAttribute("movie_inserted") == null ? "":(String) request.getAttribute("movie_inserted") %>
		<form id="form1" name="form1" action="AddMovieServlet" action="" method="get" enctype="multipart/form-data"
			name="movieform">
			<table width="400" border="0">
				<tr>
					<td align="left">Title:</td>
					<td align="left"><label for="title"></label> <input
						type="text" name="title" id="title"></td>
				</tr>
				<tr>
					<td align="left">Poster:</td>
					<td align="left"><label for="poster"></label> <input
						type="file" name="poster" id="poster"></td>
				</tr>
				<tr>
					<td align="left">Main Actor:</td>
					<td align="left"><label for="actor"></label> <input
						type="text" name="actor" id="actor">
					  <label for="select"></label><label for="cast"></label>
					</td>
				</tr>
<tr>
  <td align="left">Other Actresses:
</td>
<td align="left"><label for="actor2"></label>
  <input type="text" name="actor2" id="actor2"></td></tr>
				<tr>
					<td align="left">Movie length:
					<td align="left"><label for="showtime"></label> <input type="text"
						name="showtime" id="showtime">
					</td>

				</tr>
				<tr>
					<td align="left">Start Date:
					<td align="left"><label for="startdayselect"></label> 
					<select name="startdayselect" id="startdayselect">
							<option value="null">Day</option>
							<option value="01">01</option>
							<option value="02">02</option>
							<option value="03">03</option>
							<option value="04">04</option>
							<option value="05">05</option>
							<option value="06">06</option>
							<option value="07">07</option>
							<option value="08">08</option>
							<option value="09">09</option>
							<option value="10">10</option>
							<option value="11">11</option>
							<option value="12">12</option>
							<option value="13">13</option>
							<option value="14">14</option>
							<option value="15">15</option>
							<option value="16">16</option>
							<option value="17">17</option>
							<option value="18">18</option>
							<option value="19">19</option>
							<option value="20">20</option>
							<option value="21">21</option>
							<option value="22">22</option>
							<option value="23">23</option>
							<option value="24">24</option>
							<option value="25">25</option>
							<option value="26">26</option>
							<option value="27">27</option>
							<option value="28">28</option>
							<option value="29">29</option>
							<option value="30">30</option>
							<option value="31">31</option>

					</select> 
					<select name="startmonthselect" id="startmonthselect">
							<option value="null">Month</option>
							<option value="01">January</option>
							<option value="02">February</option>
							<option value="03">March</option>
							<option value="04">April</option>
							<option value="05">May</option>
							<option value="06">June</option>
							<option value="07">July</option>
							<option value="08">August</option>
							<option value="09">September</option>
							<option value="10">October</option>
							<option value="11">November</option>
							<option value="12">December</option>
					</select> 
					<select name="startyearselect" id="startyearselect">
							<option value="null" selected>Year</option>
							<option value="2012">2012</option>
							<option value="2011">2011</option>
					</select>
					</td>

				</tr>
				<tr>
					<td align="left">End Date:
					<td align="left"><select name="enddayselect" id="enddayselect">
							<option value="null" selected>Day</option>
							<option value="01">01</option>
							<option value="02">02</option>
							<option value="03">03</option>
							<option value="04">04</option>
							<option value="05">05</option>
							<option value="06">06</option>
							<option value="07">07</option>
							<option value="08">08</option>
							<option value="09">09</option>
							<option value="10">10</option>
							<option value="11">11</option>
							<option value="12">12</option>
							<option value="13">13</option>
							<option value="14">14</option>
							<option value="15">15</option>
							<option value="16">16</option>
							<option value="17">17</option>
							<option value="18">18</option>
							<option value="19">19</option>
							<option value="20">20</option>
							<option value="21">21</option>
							<option value="22">22</option>
							<option value="23">23</option>
							<option value="24">24</option>
							<option value="25">25</option>
							<option value="26">26</option>
							<option value="27">27</option>
							<option value="28">28</option>
							<option value="29">29</option>
							<option value="30">30</option>
							<option value="31">31</option>
					</select> 
					<select name="endmonthselect" id="endmonthselect">
							<option value="null">Month</option>
							<option value="01">January</option>
							<option value="02">February</option>
							<option value="03">March</option>
							<option value="04">April</option>
							<option value="05">May</option>
							<option value="06">June</option>
							<option value="07">July</option>
							<option value="08">August</option>
							<option value="09">September</option>
							<option value="10">October</option>
							<option value="11">November</option>
							<option value="12">December</option>
					</select> 
					<select name="endyearselect" id="endyearselect">
							<option value="null" selected>Year</option>
							<option value="2012">2012</option>
							<option value="2011">2011</option>
					</select>
					</td>

				</tr>

				<tr>
					<td align="left">Genre:</td>
					<td align="left"><label for="genre"></label> <select
						name="genre" id="genre">
							<option value="Action" selected>Action</option>
							<option value="Comedy">Comedy</option>
							<option value="Crime">Crime</option>
							<option value="Documentary">Documentary</option>
							<option value="Romance">Romance</option>
							<option value="War">War</option>
					</select></td>
				</tr>
				<tr>
					<td align="left">Director:</td>
					<td align="left"><label for="director"></label> <input
						type="text" name="director" id="director"> <label
						for="director"></label>
					</td>
				</tr>
				<tr>
					<td align="left">Synopsis:</td>
					<td align="left"><label for="synopsis"></label> <textarea
							name="synopsis" id="synopsis" cols="50" rows="12"></textarea></td>
				</tr>
				<tr>
					<td align="left">Age Rating:</td>
					<td align="left"><label for="ageRating"></label> <select
						name="ageRating" id="ageRating">
							<option value="E">E</option>
							<option value="G">G</option>
							<option value="PG">PG</option>
							<option value="M">M</option>
							<option value="MA">MA</option>
					</select></td>
				</tr>
				<tr>
					<td align="left"><input type="submit" name="Submit"
						id="Submit" value="Submit"></td>
					<td align="left"><input type="reset" name="Reset" id="Reset"
						value="Reset"></td>
				</tr>
			</table>



		</form>
	</div>
</body>
</html>